﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ticTacToe.Models
{
    public class GameModel
    {
        public String gameId { get; set; }
        public String player1 { get; set; }
        public String player2 { get; set; }
        public String gameType { get; set; }
        public String difficulty { get; set; }
        public char player1Mark { get; set; }
        public char player2Mark { get; set; }
        
        public char[] board { get; set; }
        public char nextMove { get; set; }
        public int moveCount { get; set; }
        public String message { get; set; }
        public String winningRow { get; set; }


        public GameModel() {
            this.board = new char[9];
            this.winningRow = null;
        }
        public GameModel(String p1, String p2, char m1, char m2) {
            this.board = new char[9];
            this.winningRow = null;
            this.player1 = p1;
            this.player2 = p2;
            this.player1Mark = m1;
            this.player1Mark = m2;
        }

        
    }
}